﻿using BenCaoXuan.Infrastructure.Attr;
using BenCaoXuan.Infrastructure.Dto;
using BenCaoXuan.Infrastructure.Dto.Middle.Request.Appointment;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BenCaoXuan.Service.Interface.middle
{
    [Provider_]
    public interface I_MiddleProduct_Service
    {
        /// <summary>
        /// 获取所有产品
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_All_Products();
        /// <summary>
        /// 根据套餐ID查询套餐下的所有产品
        /// </summary>
        /// <param name="packageId"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Products(string? packageId);
        /// <summary>
        /// 获取所有的产品套餐
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_All_Product_Package(Fenye_Dto dto);
        /// <summary>
        /// 获取单个产品套餐
        /// </summary>
        /// <param name="dto"></param>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Single_Product_Package(string? id);
    }
}
